package com.ncd.disease.domain;

import java.util.Date;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ncd.common.annotation.Excel;
import com.ncd.common.core.domain.BaseEntity;

/**
 * 血液信息登记对象 blood_info
 * 
 * @author zhouxin
 * @date 2024-06-18
 */
@Data
@TableName(value = "blood_info",autoResultMap = true)
public class BloodInfo
{
    private static final long serialVersionUID = 1L;

    @TableId(value = "bi_id",type = IdType.AUTO)
    private Long biId;

    /** 填写人 */
    private Long biUserId;

    /** 填写时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date biDate;

    /**  */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private JSONObject biDetail;

    private String patName;

    private String patIdNo;

    private String biUserName;

}
